Raw data were obtained from Kickstarter using a custom python web scraping function. These data included 50,596 projects and 120 variables pertaining to the projects and their creators from the launch of Kickstarter in 2009 through December 2013.
Of these projects, possible outcome states included failed, succesful, suspended, canceled, and purged. We excluded 1,246 projects with suspended, canceled, or purged outcome states. We excluded four additional projects whose funding state is inaccurate in terms of the amount pledged (e.g., state is listed as failed when the amout pledged exceeded the goal). The final dataset for analysis contained 49,350 projects.
Of the original 120 variables, 41 contained meaningful information for analyses. Selecting from, transforming, and performing additional computations resulted in 29 variables used in subsequent exploratory analysis and machine learning. These variables are described in the Data Dictionary below.
The phenomenon of crowdfunding, an alternative financing approach, involves raising funds for a new business ventures via small amounts of capital from a large number of individuals. Crowdfunding is a relatively new phenomenon enabled by wide access to social media and internet-based financial technology services (Fintech)., It makes obtaining funding more accessible for entrepreneurs and small businesses, as compared to traditional banking and lending services.
Little academic research has been conducted on crowdfunding, and there are many interesting areas for investigation. From a financial perspective, it is disrupting the small- and medium- enterprise (SME) lending market. Economically, it may be changing the prevalence and makeup of SMEs. In terms of marketing, it gives consumers a greater say in the products they would like to see available, but also exposes them to increased risk. Regarding information and technology, it is enabling innovations on a public platform.
Our project would entail exploration of datasets regarding Indiegogo and Kickstarter projects., The primary project goal would be to construct a model that predicts crowdfunding success. In order to accomplish this, additional data sources may be required regarding consumer demand, small businesses, etc. From that predictive model, we seek to make recommendations (1) to entrepreneurs, regarding when and how to employ crowdfunding for project financing, and (2) to the lending services and venture capital industries, regarding how their business models should react.
From this independent study course, I expect to: * Use multiple publicly-available crowdfunding datasets and R programming, * Clean data and conduct primary research to obtain additional variables (as needed), * Apply statistical analysis techniques to describe trends, * Construct a model to predict crowdfunding success, and * Prescribe best practices for entrepreneurs to leverage crowdfunding.
Kickstarter is AWESOME!
I can use Github!
set.seed(1)
n <- nrow(df_engr)
shuffled_df <- df_engr[sample(n), ]
train_indices <- 1:round(0.8 * n)
train <- shuffled_df[train_indices, ]
test_indices <- (round(0.8 * n) + 1):n
test <- shuffled_df[test_indices, ]
rm(shuffled_df); rm(n); rm(test_indices); rm(train_indices);
train_y <- train$funded
train_x <- model.matrix(funded ~
campaign_duration +
usa +
social_media_count +
photo_key +
video_status +
mo_launched +
category +
goal_20 +
description_length_10 +
reward_length_10, data = train)
test_y <- test$funded
test_x <- model.matrix(funded ~
campaign_duration +
usa +
social_media_count +
photo_key +
video_status +
mo_launched +
category +
goal_20 +
description_length_10 +
reward_length_10, data = test)
cvfit <- cv.glmnet(x=train_x, y=train_y, alpha = 1)
coef(cvfit, s = "lambda.min")
## 71 x 1 sparse Matrix of class "dgCMatrix"
## 1
## (Intercept) 0.664914095
## (Intercept) .
## campaign_duration -0.001999695
## usa 0.130496091
## social_media_count1 0.007694106
## social_media_count2 -0.018798148
## social_media_count3 -0.012401064
## photo_key -0.325786082
## video_status 0.114512423
## mo_launched02 0.012042709
## mo_launched03 0.009070564
## mo_launched04 -0.005003108
## mo_launched05 -0.032815830
## mo_launched06 -0.020027388
## mo_launched07 -0.042405213
## mo_launched08 -0.044413291
## mo_launched09 -0.020568204
## mo_launched10 -0.019607878
## mo_launched11 -0.022795763
## mo_launched12 -0.030831188
## categorycomics 0.404898773
## categorycrafts 0.305221540
## categorydance 0.296892593
## categorydesign 0.291811031
## categoryfashion 0.469312227
## categoryfilm&video 0.175696086
## categoryfood 0.470958744
## categorygames -0.032333145
## categoryjournalism 0.518167715
## categorymusic 0.086738376
## categoryphotography 0.448134568
## categorypublishing -0.092499720
## categorytechnology 0.050521804
## categorytheater 0.434534961
## goal_20(500,750] -0.057788659
## goal_20(750,1e+03] -0.117671705
## goal_20(1e+03,1.5e+03] -0.131514952
## goal_20(1.5e+03,1.8e+03] -0.129787711
## goal_20(1.8e+03,2e+03] -0.179015169
## goal_20(2e+03,2.5e+03] -0.201020201
## goal_20(2.5e+03,3e+03] -0.205210875
## goal_20(3e+03,3.5e+03] -0.222480198
## goal_20(3.5e+03,4.5e+03] -0.263936072
## goal_20(4.5e+03,5e+03] -0.325905098
## goal_20(5e+03,5.2e+03] -0.392920567
## goal_20(5.2e+03,7e+03] -0.343285549
## goal_20(7e+03,8e+03] -0.349492016
## goal_20(8e+03,1e+04] -0.414197836
## goal_20(1e+04,1.2e+04] -0.433992904
## goal_20(1.2e+04,1.6e+04] -0.466483730
## goal_20(1.6e+04,2.5e+04] -0.525832603
## goal_20(2.5e+04,5e+04] -0.614624699
## goal_20(5e+04,2.15e+07] -0.752777020
## description_length_10(754,1.11e+03] 0.047569711
## description_length_10(1.11e+03,1.44e+03] 0.094708324
## description_length_10(1.44e+03,1.81e+03] 0.115029118
## description_length_10(1.81e+03,2.22e+03] 0.138664965
## description_length_10(2.22e+03,2.74e+03] 0.166152398
## description_length_10(2.74e+03,3.46e+03] 0.170785197
## description_length_10(3.46e+03,4.58e+03] 0.175105438
## description_length_10(4.58e+03,6.64e+03] 0.228388846
## description_length_10(6.64e+03,1.4e+05] 0.287361125
## reward_length_10(2.62e+03,3.71e+03] 0.063860414
## reward_length_10(3.71e+03,4.61e+03] 0.111644718
## reward_length_10(4.61e+03,5.49e+03] 0.139014324
## reward_length_10(5.49e+03,6.43e+03] 0.181298204
## reward_length_10(6.43e+03,7.52e+03] 0.198659617
## reward_length_10(7.52e+03,8.86e+03] 0.211436713
## reward_length_10(8.86e+03,1.08e+04] 0.259518926
## reward_length_10(1.08e+04,1.45e+04] 0.271572314
## reward_length_10(1.45e+04,1.37e+05] 0.351476224
mean(test_y)
## [1] 0.5593718
mean(test_y == as.numeric(predict(cvfit, s = "lambda.min", test_x, type = "response") >= .5))
## [1] 0.7014184
set.seed(1)
tree <- rpart(funded ~
campaign_duration +
usa +
social_media_count +
photo_key +
video_status +
mo_launched +
category +
goal +
description_length +
reward_length, data = train)
summary(tree)
## Call:
## rpart(formula = funded ~ campaign_duration + usa + social_media_count +
## photo_key + video_status + mo_launched + category + goal +
## description_length + reward_length, data = train)
## n= 39480
##
## CP nsplit rel error xerror xstd
## 1 0.03433136 0 1.0000000 1.0000565 0.001159178
## 2 0.03397122 1 0.9656686 0.9596011 0.002306328
## 3 0.01522393 2 0.9316974 0.9327278 0.002656245
## 4 0.01486580 3 0.9164735 0.9189171 0.002906249
## 5 0.01000000 4 0.9016077 0.9027850 0.003075436
##
## Variable importance
## reward_length goal category
## 42 25 16
## description_length video_status campaign_duration
## 10 3 3
##
## Node number 1: 39480 observations, complexity param=0.03433136
## mean=0.5571935, MSE=0.2467289
## left son=2 (19858 obs) right son=3 (19622 obs)
## Primary splits:
## goal < 4320.84 to the right, improve=0.03433136, (0 missing)
## category splits as LRRRRRRRLRRRLLR, improve=0.03196349, (0 missing)
## reward_length < 4056.5 to the left, improve=0.02676679, (0 missing)
## video_status < 0.5 to the left, improve=0.02034017, (0 missing)
## description_length < 1119.5 to the left, improve=0.01583421, (0 missing)
## Surrogate splits:
## reward_length < 7034.5 to the right, agree=0.639, adj=0.273, (0 split)
## description_length < 2632.5 to the right, agree=0.628, adj=0.251, (0 split)
## category splits as RLRRLLLLLLRLRLR, agree=0.596, adj=0.187, (0 split)
## campaign_duration < 29.995 to the right, agree=0.569, adj=0.133, (0 split)
## video_status < 0.5 to the right, agree=0.560, adj=0.115, (0 split)
##
## Node number 2: 19858 observations, complexity param=0.03397122
## mean=0.4657065, MSE=0.248824
## left son=4 (4221 obs) right son=5 (15637 obs)
## Primary splits:
## reward_length < 4814.5 to the left, improve=0.06697005, (0 missing)
## description_length < 1925.5 to the left, improve=0.04453456, (0 missing)
## category splits as LRRRRRRRLRRRLLR, improve=0.04166823, (0 missing)
## video_status < 0.5 to the left, improve=0.03845977, (0 missing)
## goal < 18664.1 to the right, improve=0.02109630, (0 missing)
## Surrogate splits:
## description_length < 894.5 to the left, agree=0.803, adj=0.073, (0 split)
## video_status < 0.5 to the left, agree=0.788, adj=0.004, (0 split)
## goal < 2500000 to the right, agree=0.788, adj=0.001, (0 split)
## campaign_duration < 7.49 to the left, agree=0.788, adj=0.001, (0 split)
##
## Node number 3: 19622 observations, complexity param=0.0148658
## mean=0.6497809, MSE=0.2275657
## left son=6 (6380 obs) right son=7 (13242 obs)
## Primary splits:
## reward_length < 4056.5 to the left, improve=0.03242913, (0 missing)
## video_status < 0.5 to the left, improve=0.02657808, (0 missing)
## category splits as LRRRRRRRLRLRLLR, improve=0.02453957, (0 missing)
## description_length < 1066.5 to the left, improve=0.01988858, (0 missing)
## campaign_duration < 29.785 to the right, improve=0.01356609, (0 missing)
## Surrogate splits:
## description_length < 787.5 to the left, agree=0.697, adj=0.068, (0 split)
## video_status < 0.5 to the left, agree=0.684, adj=0.029, (0 split)
## goal < 331.5 to the left, agree=0.679, adj=0.011, (0 split)
## campaign_duration < 7.745 to the left, agree=0.675, adj=0.002, (0 split)
##
## Node number 4: 4221 observations
## mean=0.2172471, MSE=0.1700508
##
## Node number 5: 15637 observations, complexity param=0.01522393
## mean=0.5327748, MSE=0.2489258
## left son=10 (6497 obs) right son=11 (9140 obs)
## Primary splits:
## category splits as LRRRRRRRLRRRLLR, improve=0.03809787, (0 missing)
## goal < 15525 to the right, improve=0.03077773, (0 missing)
## reward_length < 9565 to the left, improve=0.01700483, (0 missing)
## video_status < 0.5 to the left, improve=0.01567898, (0 missing)
## description_length < 1981.5 to the left, improve=0.01366007, (0 missing)
## Surrogate splits:
## description_length < 5760 to the right, agree=0.637, adj=0.126, (0 split)
## usa < 0.5 to the left, agree=0.592, adj=0.017, (0 split)
## goal < 110555.5 to the right, agree=0.591, adj=0.015, (0 split)
## video_status < 0.5 to the left, agree=0.590, adj=0.013, (0 split)
##
## Node number 6: 6380 observations
## mean=0.5260188, MSE=0.249323
##
## Node number 7: 13242 observations
## mean=0.7094095, MSE=0.2061477
##
## Node number 10: 6497 observations
## mean=0.4172695, MSE=0.2431557
##
## Node number 11: 9140 observations
## mean=0.6148796, MSE=0.2368027
prp(tree, extra = 1, box.palette = "auto")
printcp(tree)
##
## Regression tree:
## rpart(formula = funded ~ campaign_duration + usa + social_media_count +
## photo_key + video_status + mo_launched + category + goal +
## description_length + reward_length, data = train)
##
## Variables actually used in tree construction:
## [1] category goal reward_length
##
## Root node error: 9740.9/39480 = 0.24673
##
## n= 39480
##
## CP nsplit rel error xerror xstd
## 1 0.034331 0 1.00000 1.00006 0.0011592
## 2 0.033971 1 0.96567 0.95960 0.0023063
## 3 0.015224 2 0.93170 0.93273 0.0026562
## 4 0.014866 3 0.91647 0.91892 0.0029062
## 5 0.010000 4 0.90161 0.90279 0.0030754
plotcp(tree)
index <- which.min(tree$cptable[ , "xerror"])
tree_min <- tree$cptable[index, "CP"]
pruned_tree <- prune(tree, cp = tree_min)
prp(pruned_tree, extra = 1, box.palette = "auto")
mean(test$funded)
## [1] 0.5593718
mean(test$funded == as.numeric(predict(pruned_tree, newdata = test) >= .5))
## [1] 0.6521783
Our final task in text analysis was to propose a mechanism for predictive binary classification of project success or failure based on project description.
To prepare to fit the model, we considered both unigrams (single terms) and bigrams and filtered for words that appear in at least 500 project descriptions. We calculated tf-idf and formatted the results in a document-term matrix. We also created train and test datasets based on an 80/20% split of the data.
We tested Naïve Bayes and Random Forest classification models.
The variable full_description contains the complete project description from kickstarter. Unstructured data, such as this text variable, require more cleaning and transformation to be useful, but can potentially be a source of rich information. Our application of text analysis had three primary motives: 1. Examine word frequency with word counts and wordclouds 2. Contruct topic models 3. Binary calssification to predict project funding status
We began by transforming the strings of text in full_description into a data frame with one word per row. We then removed English stop words, common words that carry little semantic meaning and are thus immaterial to analyses (e.g., “and”, “the”, “of”). Finally, we determined word counts for: * the entire dataset, * only successful projects, and * only failed projects.
set.seed(1)
# Most frequently used words in descriptions, overall
fd_text_tidy <- data_frame(id = db_cleaned$project_id, text = db_cleaned$full_description) %>%
unnest_tokens(word, text) %>%
anti_join(stop_words) %>%
count(word, sort = TRUE)
## Joining, by = "word"
fd_text_tidy %>%
filter(n > 25000) %>%
mutate(word = reorder(word, n)) %>%
ggplot(aes(word, n)) +
geom_col() +
xlab(NULL) +
coord_flip()
# Most frequently used words in successful descriptions
success_fd_text <- filter(db_cleaned, state == "successful")
success_fd_text <- data_frame(id = success_fd_text$project_id, text = success_fd_text$full_description)
success_fd_text_tidy <- success_fd_text %>%
unnest_tokens(word, text) %>%
anti_join(stop_words)
## Joining, by = "word"
# count(word, sort = TRUE)
# Most frequently used words in failed descriptions
fail_fd_text <- filter(db_cleaned, state == "failed")
fail_fd_text <- data_frame(id = fail_fd_text$project_id, text = fail_fd_text$full_description)
fail_fd_text_tidy <- fail_fd_text %>%
unnest_tokens(word, text) %>%
anti_join(stop_words)
## Joining, by = "word"
# count(word, sort = TRUE)
Next, we examined the correlation between word proportions of successful and failed project descriptions. Word proportion represents the percentage of time that a given word is used out of the total number of words in the document. In this case, the documents are the collection of all successful project descriptions and all failed project descriptions.
We observed, both visually and in terms of Pearson’s correlation coefficient, that the terms used in successful and failed project descriptions were very similar.
# Where is there word overlap between successful and failed projects?
set.seed(1)
frequency <- bind_rows(mutate(success_fd_text_tidy, funded = "successful"),
mutate(fail_fd_text_tidy, funded = "failed")) %>%
count(funded, word) %>%
group_by(funded) %>%
mutate(proportion = n/sum(n)) %>%
select(-n) %>%
spread(funded, proportion) %>%
gather(funded, proportion, `successful`)
ggplot(frequency, aes(x = proportion, y = `failed`, color = abs(`failed` - proportion))) +
geom_abline(color = "gray40", lty = 2) +
geom_jitter(alpha = 0.5, size = 1.5, width = 0.1, height = 0.1) +
geom_text(aes(label = word), check_overlap = TRUE, vjust = 0.5) +
scale_x_log10(labels = percent_format()) +
scale_y_log10(labels = percent_format()) +
scale_color_gradient(limits = c(0, 0.001), low = "darkslategray4", high = "gray75") +
facet_wrap(~funded, ncol = 2) +
theme(legend.position="none") +
labs(y = "failed", x = "successful")
## Warning: Removed 601449 rows containing missing values (geom_point).
## Warning: Removed 601449 rows containing missing values (geom_text).
cor.test(data = frequency[frequency$funded == "successful",], ~ proportion + `failed`)
##
## Pearson's product-moment correlation
##
## data: proportion and failed
## t = 1167.9, df = 111150, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
## 0.961139 0.962025
## sample estimates:
## cor
## 0.9615845
Another way to visualize word frequency is by constructing wordclouds, which scale the size of text of a word to match its frequency in the document relative to other words’ frequencies. We constructed a wordcloud for the descriptions from the entire dataset. We were not surprised to see that “project”, “kickstarter”, and “goal” were among the most frequent terms used.
set.seed(1)
# Create a corpus
# Transform text to lowercase, remove punctuation, remove stop words
description_corpus <- VCorpus(VectorSource(db_cleaned$full_description))
description_corpus <- tm_map(description_corpus, content_transformer(tolower))
description_corpus <- tm_map(description_corpus, removePunctuation)
description_corpus <- tm_map(description_corpus, PlainTextDocument)
description_corpus <- tm_map(description_corpus, removeWords, stopwords('english'))
pal <- brewer.pal(9, "BuPu")
wordcloud(description_corpus, max.words = 100, random.order = FALSE, colors = pal, ordered.color = FALSE)
Wordclouds can be a useful way to visually observe differences in word variety and frequency between different groups of documents. Although they cannot be used in subsequent modeling, they are a tool for understanding unstructured text data and formulating hypotheses.
Therefore, we grouped our dataset into documents * by year to identify trends over time, and * by funded to identify differences between successful and failed projects.
Prior to generating the wordclouds, we also created a custom set of stop words to weed out common terms in our dataset that could mask points of distinction between documents.
In the wordclouds by year, we see that music was initially the most prevalent in 2009, but film began to emerge as the predominant category 2010-2011. In 2012-2013, games appear as the biggest category. These wordclouds also give us a hint regarding the variety of projects. From 2009-2011, the wordclouds become larger and word frequency is less concentrated around the same terms. Abruptly in 2012, the projects seems to become less disparate, but in 2013 variety increases again. This suggests that the degree of project variety on kickstarter may be cyclical; this seems logical as artists and entrepreneurs in the same field turn to kickstarter after hearing about colleagues’ successes. However, more years of data are needed to verify the hypothesis of three-year periodicity.
set.seed(1)
# Words to exclude
exclude <- c("will", "can", "get", "make", "project", "time", "people", "kickstarter", "one", "goal", "money", "support", "help", "new", "like", "just", "first", "also", "like", "still", "really", "already", "ive", "weve", "dont", "well", "want", "need", "around", "include", "including", "two", "four", "three", "last", "thats", "youll", "currently", "others", "extra", "without", "within", "ever", "days", "months", "2012", "cant", "second", "100", "wanted", "fund", "funding", "able", "additional")
# Initialize year variables for `for` loop
Year <- as.numeric(as.character(format(db_cleaned$launched_at, format="%Y")))
YearUnique <- sort(unique(Year))
# Create corpora and wordclouds by year
for(i in 1:length(Year)) {
ind <- which(Year == YearUnique[i])
if(length(ind) >= 10) {
description_corpus <- VCorpus(VectorSource(db_cleaned$full_description[ind]))
description_corpus <- tm_map(description_corpus, content_transformer(tolower))
description_corpus <- tm_map(description_corpus, removePunctuation)
description_corpus <- tm_map(description_corpus, PlainTextDocument)
description_corpus <- tm_map(description_corpus, removeWords, c(exclude, stopwords('english')))
print(YearUnique[i])
pal <- brewer.pal(9, "BuPu")
wordcloud(description_corpus, max.words = 100, random.order = FALSE, colors = pal, ordered.color = FALSE)
}
}
## [1] 2009
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : creative could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : public could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : receive could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : 2009 could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : enough could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : festival could not be fit on page. It will not be plotted.
## [1] 2010
## [1] 2011
## [1] 2012
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : community could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : everyone could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : recording could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : team could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : receive could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : original could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : bring could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : band could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : since could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : stories could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : campaign could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : release could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : special could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : sound could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : reach could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : unique could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : keep could not be fit on page. It will not be plotted.
## [1] 2013
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : quality could not be fit on page. It will not be plotted.
## Warning in wordcloud(description_corpus, max.words = 100, random.order =
## FALSE, : artist could not be fit on page. It will not be plotted.
In the wordclouds by funding status, we observed a high degree of similarity in both terms and frequency between successful and failed projects. Books seemed more likely to fail due to the higher prevalence of “book” in the failed wordcloud. There also seemed to be more variety in the successful wordcloud, perhaps indicating richer project descriptions. However, it seems that high world frequency may not be the best delineator of successful versus failed projects.
set.seed(1)
# Initialize success variables for `for` loop
Success <- db_cleaned$state
SuccessUnique <- sort(unique(Success))
# Create corpora and wordclouds by success
for(i in 1:length(Success)){
ind <- which(Success == SuccessUnique[i])
if(length(ind) >= 10) {
description_corpus <- VCorpus(VectorSource(db_cleaned$full_description[ind]))
description_corpus <- tm_map(description_corpus, content_transformer(tolower))
description_corpus <- tm_map(description_corpus, removePunctuation)
description_corpus <- tm_map(description_corpus, PlainTextDocument)
description_corpus <- tm_map(description_corpus, removeWords, c(exclude, stopwords('english')))
print(SuccessUnique[i])
pal <- brewer.pal(9, "BuPu")
wordcloud(description_corpus, max.words = 100, random.order = FALSE, colors = pal, ordered.color = FALSE)
}
}
## [1] "failed"
## [1] "successful"
Sometimes the best way to determine points of difference between two similar documents are the terms which are unique between the two documents, rather than the most frequent terms. For example, two books written by the same author would likely generate similar wordclouds, yet the unique characters and places in the books would enable us to detect which book is which.
To see if this might be the case in our collection of successful and failed projects, we examined the term frequency-inverse document frequency (tf-idf). tf looks for terms that are common; idf decreases the weight placed on commonly used terms in the collection and increases the weight placed on words that are not commonly used in the collection (i.e., common in a few documents). To remove nonsensical words from the analysis, we only considered words with a frequency of greater than 500, which is a reasonably low cutoff in a dataset with 700,000+ unique terms.
The results of this analysis suggest that board games and film are likely to be successful (dice, unlocked, filmmaker(s), boards, filmmaking, premiere). However, although the games category overall had a high success rate, it appears that games involving war and violence were less likely to receive funding (weapon, battles, security, agent), as were online games (multiplayer, server, playable, modes, animations).
set.seed(1)
# Combine successful and failed documents in one data frame that considers document frequency and total frequency
funded_words <- bind_rows(mutate(success_fd_text_tidy, funded = "successful"),
mutate(fail_fd_text_tidy, funded = "failed")) %>%
count(funded, word, sort = TRUE) %>%
filter(n > 500) %>%
ungroup()
total_words <- funded_words %>%
group_by(funded) %>%
summarize(total = sum(n))
funded_words <- left_join(funded_words, total_words)
## Joining, by = "funded"
# Compute tf-idf
funded_words <- funded_words %>%
bind_tf_idf(word, funded, n) %>%
select(-total) %>%
arrange(desc(tf_idf))
# Visualize
funded_words %>%
arrange(desc(tf_idf)) %>%
mutate(word = factor(word, levels = rev(unique(word)))) %>%
group_by(funded) %>%
top_n(20) %>%
ungroup %>%
ggplot(aes(word, tf_idf, fill = funded)) +
geom_col(show.legend = FALSE) +
labs(x = NULL, y = "tf-idf") +
facet_wrap(~funded, ncol = 2, scales = "free") +
coord_flip()
## Selecting by tf_idf
The analyses in the previous section have focused on the “bag-of-words” approach and word frequency as a method for natural language processing, the means by which computers make sense of human language. Although this is a common and useful approach, there are other useful ways to describe text data.
One such method is topic modeling. Topic models assume that word or groups of words (called n-grams) which appear frequently together in a dataset are explained by underlying, unobserved groups(called topics). By examining word or n-gram overlap in the documents comprising a dataset, these topics can be detected. Although the computer cannot provide a semantic label for the topics, a human who is familiar with the dataset could examine the top words and determine a theme.
We chose Latent Dirichlet allocation (LDA) as our statistical model for topic detection. LDA examines text by word frequency and co-occurence in documents, which are individual project descriptions in our case. LDA assumes that each document covers a small number of topics and a small set of words it uses frequently, and so it is good at assigning documents to topics.
To feed data into the model, we first processed the text to transform it to lowercase, remove punctuation, and remove stop words. In this section, we also performed word stemming, which groups words together that have the same root but different suffixes. This process helps ensure that words with the same semantic meaning, but different verb conjugations and the like, are assessed as the same word. As a result, our results show some incomplete word stems.
After processing the text, we used it to generate documents, a vocabulary of terms in the dataset, metadata to construct the model. Consistent with our tf-idf analysis above, we only considered terms that appeared in at least 500 documents. We ran iterations of the LDA model specifying both 20 and 40 topics. The model did not reach convergence over 10 or 20 iterations; however, meaningful topics emerged with 20 iterations over 40 topics.
Visualizing the results of our topic model, we see some meaningful topics emerge, some centered on the mechanisms of the platform, and others identifying product categories or subcategories.
For example, Topic 1 could be labeled Funding Requests and includes terms like “help”, “money”, “donate”, “dollar”, “goal”, “buck”, and “reach”. Topic 7 is all about the rewards provided to backers if the project is successful: “pledge”, “reward”, “level”, “backer”, “goal”, and “ship.”
On the other hand, Topic 6 seems to describe a certain subcategory of Film & Video and could be labeled Web Series with terms like “show”, “series”, “episode”, “season”, “pilot”, “web”, “anime”, and “comedy.” Topic 24 seems to describe a subcategory of Publishing and could be labeled Periodicals with terms like “issue”, “magazine”, “media”, “interview”, “article”, “content”, “journal”, and “print.”
The theme of the projects is clear from some topics, although the type of project is not easily distinguished. For example, Topic 30 is about Fantasy, but could span several types of projects. The same is true of Topic 31 (Christianity), Topic 35 (Family), and Topic 39 (Outer Space).
We also visualized the correlations between the 40 topics. The green nodes indicate topics, and the dashed lines represent relatedness between topics. The length of the dashed lines indicate the degree of similarity between two topics. Our topic models are highly related to one another, both in terms of the number of connections and the distance of connections.
set.seed(1)
# Describe topics
labelTopics(poliblogPrevFit, c(1:40))
## Topic 1 Top Words:
## Highest Prob: art, artist, work, paint, piec, will, creat
## FREX: paint, art, exhibit, galleri, artist, portrait, piec
## Lift: exhibit, paint, galleri, canva, portrait, painter, curat
## Score: art, paint, artist, exhibit, galleri, piec, work
## Topic 2 Top Words:
## Highest Prob: life, never, time, live, feel, alway, one
## FREX: father, knew, felt, mother, realiz, babi, never
## Lift: dad, mom, mental, babi, father, wasnt, marri
## Score: life, father, mother, never, knew, felt, live
## Topic 3 Top Words:
## Highest Prob: case, fit, need, key, perfect, product, order
## FREX: case, pocket, fit, bike, bag, key, bear
## Lift: bike, bear, bulk, case, pocket, ball, pen
## Score: case, bike, bag, fit, pen, pocket, key
## Topic 4 Top Words:
## Highest Prob: back, eye, hand, head, light, room, turn
## FREX: door, eye, walk, room, car, sun, head
## Lift: sun, rain, leg, door, cold, climb, sat
## Score: eye, light, car, walk, door, room, head
## Topic 5 Top Words:
## Highest Prob: man, girl, one, boy, young, stori, tell
## FREX: girl, boy, woman, man, laugh, kill, sister
## Lift: cri, sex, drug, girl, boy, blind, laugh
## Score: girl, man, boy, woman, young, men, stori
## Topic 6 Top Words:
## Highest Prob: school, learn, student, children, kid, educ, program
## FREX: student, school, children, educ, teach, kid, teacher
## Lift: teacher, classroom, teach, student, educ, children, school
## Score: school, student, children, educ, kid, learn, teach
## Topic 7 Top Words:
## Highest Prob: tour, travel, show, new, citi, road, will
## FREX: san, tour, road, trip, van, travel, francisco
## Lift: diego, las, detroit, van, coast, san, seattl
## Score: tour, travel, citi, los, san, show, road
## Topic 8 Top Words:
## Highest Prob: book, publish, stori, write, read, novel, cover
## FREX: book, publish, novel, reader, author, ebook, read
## Lift: paperback, ebook, manuscript, self-publish, e-book, reader, novel
## Score: book, publish, novel, stori, write, reader, author
## Topic 9 Top Words:
## Highest Prob: will, can, make, want, get, need, also
## FREX: abl, possibl, want, zombi, enough, may, buy
## Lift: zombi, arent, sum, itth, plenti, buy, harder
## Score: will, want, can, get, zombi, make, money
## Topic 10 Top Words:
## Highest Prob: will, magic, water, natur, beauti, fire, park
## FREX: tree, water, garden, bird, plant, magic, mountain
## Lift: fish, garden, flower, plant, bird, ice, farm
## Score: water, magic, tree, natur, garden, park, fire
## Topic 11 Top Words:
## Highest Prob: video, use, audio, sound, camera, can, make
## FREX: audio, video, ipad, camera, captur, pro, toy
## Lift: audio, pro, speaker, video, toy, ipad, microphon
## Score: video, camera, audio, ipad, sound, photo, use
## Topic 12 Top Words:
## Highest Prob: crew, seri, cast, shoot, episod, product, equip
## FREX: episod, crew, cast, shoot, prop, comedi, season
## Lift: episod, prop, wardrob, makeup, comedi, crew, cast
## Score: episod, crew, cast, shoot, seri, actor, comedi
## Topic 13 Top Words:
## Highest Prob: design, product, use, made, materi, manufactur, machin
## FREX: machin, kit, plastic, manufactur, mold, mount, assembl
## Lift: mold, bottl, durabl, plastic, factori, plate, mount
## Score: design, prototyp, manufactur, product, kit, plastic, machin
## Topic 14 Top Words:
## Highest Prob: year, time, last, friend, famili, day, first
## FREX: year, last, famili, ago, past, friend, summer
## Lift: lake, ago, winter, grown, year, sean, gracious
## Score: year, famili, friend, love, last, day, ago
## Topic 15 Top Words:
## Highest Prob: will, reward, pledg, backer, ship, receiv, kickstart
## FREX: backer, reward, ship, receiv, pledg, note, avail
## Lift: deliveri, mail, backer, ship, reward, faq, estim
## Score: reward, ship, backer, pledg, will, receiv, level
## Topic 16 Top Words:
## Highest Prob: food, hous, parti, will, dog, fun, gift
## FREX: dog, coffe, christma, parti, food, cook, eat
## Lift: cook, christma, dog, coffe, holiday, restaur, pour
## Score: food, parti, dog, hous, coffe, christma, cook
## Topic 17 Top Words:
## Highest Prob: like, ive, think, want, thing, know, just
## FREX: ive, think, ill, someth, thing, say, mayb
## Lift: ill, ive, guess, letter, mayb, think, bore
## Score: ive, think, thing, ill, know, someth, like
## Topic 18 Top Words:
## Highest Prob: goal, donat, will, kickstart, money, rais, reach
## FREX: donat, goal, reach, amount, rais, money, dollar
## Lift: --noth, deadlin, incent, exceed, donat, fundrais, reach
## Score: goal, donat, pledg, kickstart, money, reach, rais
## Topic 19 Top Words:
## Highest Prob: perform, new, danc, festiv, concert, will, artist
## FREX: danc, perform, concert, opera, orchestra, compos, venu
## Lift: opera, orchestra, dancer, danc, ensembl, perform, chamber
## Score: perform, concert, festiv, danc, orchestra, opera, york
## Topic 20 Top Words:
## Highest Prob: star, john, comic, award, new, david, michael
## FREX: comic, john, jame, adam, michael, david, chris
## Lift: adam, tim, stephen, jeff, joe, brian, robert
## Score: star, comic, john, michael, david, king, award
## Topic 21 Top Words:
## Highest Prob: stori, life, live, peopl, person, world, journey
## FREX: god, journey, faith, heart, emot, peac, spiritu
## Lift: jesus, christian, god, spiritu, religi, religion, faith
## Score: stori, life, god, journey, heart, live, peopl
## Topic 22 Top Words:
## Highest Prob: world, charact, adventur, dark, find, stori, human
## FREX: mysteri, dark, surviv, dead, escap, planet, evil
## Lift: ghost, haunt, mysteri, escap, hunt, demon, strang
## Score: charact, adventur, dark, world, stori, mysteri, human
## Topic 23 Top Words:
## Highest Prob: get, weve, make, well, just, that, dont
## FREX: weve, that, your, guy, youll, cant, there
## Lift: itll, gonna, youv, buck, weve, guy, your
## Score: weve, get, that, youll, guy, dont, your
## Topic 24 Top Words:
## Highest Prob: use, can, develop, app, power, devic, control
## FREX: app, devic, softwar, user, code, applic, iphon
## Lift: usb, batteri, devic, app, hardwar, tablet, softwar
## Score: app, devic, user, softwar, iphon, usb, develop
## Topic 25 Top Words:
## Highest Prob: help, support, share, thank, make, world, dream
## FREX: share, dream, support, amaz, thank, passion, spread
## Lift: share, dream, tweet, grate, sincer, amaz, truli
## Score: help, share, dream, support, thank, love, world
## Topic 26 Top Words:
## Highest Prob: name, magazin, issu, plus, get, special, digit
## FREX: magazin, issu, plus, name, contributor, cat, credit
## Lift: magazin, cat, quarter, contributor, plus, issu, bell
## Score: magazin, issu, plus, name, digit, credit, dvd
## Topic 27 Top Words:
## Highest Prob: will, communiti, local, space, build, project, citi
## FREX: communiti, sculptur, space, local, instal, island, particip
## Lift: sculptur, visitor, urban, neighborhood, counti, island, architectur
## Score: communiti, sculptur, citi, space, instal, local, build
## Topic 28 Top Words:
## Highest Prob: will, websit, show, onlin, site, web, also
## FREX: site, onlin, websit, internet, network, web, blog
## Lift: podcast, internet, site, station, adopt, stream, onlin
## Score: site, websit, show, onlin, web, radio, internet
## Topic 29 Top Words:
## Highest Prob: film, short, festiv, movi, product, produc, director
## FREX: film, filmmak, movi, director, festiv, short, post-product
## Lift: cinema, filmmak, film, cinematograph, post-product, screenplay, cinemat
## Score: film, festiv, filmmak, movi, documentari, director, short
## Topic 30 Top Words:
## Highest Prob: team, compani, market, busi, product, industri, design
## FREX: busi, compani, market, industri, sport, team, sale
## Lift: sport, busi, hors, inc, compani, len, consult
## Score: team, compani, market, busi, product, industri, design
## Topic 31 Top Words:
## Highest Prob: music, play, musician, song, band, sound, guitar
## FREX: guitar, jazz, music, sing, musician, piano, instrument
## Lift: guitarist, jazz, piano, bass, melodi, guitar, sing
## Score: music, song, musician, guitar, band, play, jazz
## Topic 32 Top Words:
## Highest Prob: will, can, system, map, race, build, weapon
## FREX: race, weapon, robot, map, enemi, attack, system
## Lift: weapon, race, empir, robot, defens, attack, combat
## Score: weapon, map, enemi, system, robot, combat, race
## Topic 33 Top Words:
## Highest Prob: histori, american, cultur, state, nation, interview, war
## FREX: histori, american, polit, war, america, histor, interview
## Lift: africa, presid, polit, journalist, african, histori, american
## Score: american, cultur, histori, women, war, interview, documentari
## Topic 34 Top Words:
## Highest Prob: get, want, make, can, ’ve, ’re, new
## FREX: ’re, ’ve, ’ll, don’t, want, get, can’t
## Lift: ’re, ’ll, ’ve, won’t, can’t, don’t, isn’t
## Score: ’re, ’ll, ’ve, get, don’t, want, can’t
## Topic 35 Top Words:
## Highest Prob: project, will, fund, work, creat, complet, anim
## FREX: anim, fund, project, complet, profession, hire, necessari
## Lift: cartoon, anim, pet, fruition, portion, exposur, contract
## Score: project, anim, fund, creat, will, complet, product
## Topic 36 Top Words:
## Highest Prob: record, album, song, releas, studio, master, mix
## FREX: album, record, master, vinyl, mix, studio, song
## Lift: album, vinyl, duplic, cds, label, record, hip
## Score: album, record, song, studio, band, releas, cds
## Topic 37 Top Words:
## Highest Prob: print, edit, will, design, sign, limit, poster
## FREX: print, poster, sign, edit, limit, paper, sticker
## Lift: ink, poster, sticker, print, paper, shirt, sign
## Score: print, poster, edit, sign, design, color, paper
## Topic 38 Top Words:
## Highest Prob: develop, experi, explor, will, technolog, new, provid
## FREX: technolog, approach, research, explor, innov, result, method
## Lift: theori, evolut, observ, context, method, principl, facilit
## Score: develop, technolog, explor, research, experi, univers, interact
## Topic 39 Top Words:
## Highest Prob: card, stretch, goal, set, add, pledg, will
## FREX: card, stretch, deck, pack, add, box, pdf
## Lift: deck, miniatur, card, dice, stretch, pdf, pack
## Score: card, deck, stretch, pledg, dice, pdf, add
## Topic 40 Top Words:
## Highest Prob: game, player, play, develop, charact, will, level
## FREX: game, player, gameplay, puzzl, gamer, rpg, play
## Lift: gameplay, -game, playabl, gamer, oppon, game, multiplay
## Score: game, player, play, gameplay, charact, gamer, develop
plot(poliblogPrevFit, type = "summary", xlim = c(0, .06), text.cex = 0.5)
for (i in 1:40) {
cloud(poliblogPrevFit, topic = i, scale = c(3, 1))
}
## Warning in wordcloud::wordcloud(words = vocab, freq = vec, max.words =
## max.words, : histori could not be fit on page. It will not be plotted.
## Warning in wordcloud::wordcloud(words = vocab, freq = vec, max.words =
## max.words, : technolog could not be fit on page. It will not be plotted.
## Warning in wordcloud::wordcloud(words = vocab, freq = vec, max.words =
## max.words, : univers could not be fit on page. It will not be plotted.
## Warning in wordcloud::wordcloud(words = vocab, freq = vec, max.words =
## max.words, : approach could not be fit on page. It will not be plotted.
## Warning in wordcloud::wordcloud(words = vocab, freq = vec, max.words =
## max.words, : complex could not be fit on page. It will not be plotted.
## Warning in wordcloud::wordcloud(words = vocab, freq = vec, max.words =
## max.words, : engag could not be fit on page. It will not be plotted.
## Warning in wordcloud::wordcloud(words = vocab, freq = vec, max.words =
## max.words, : model could not be fit on page. It will not be plotted.
# Topic correlations
mod.out.corr <- topicCorr(poliblogPrevFit)
plot(mod.out.corr)
In natural language processing, data often arrive with little metadata to categorize the text. Although we have project category in our dataset, we have no mechanism, aside from text mining, to determine project themes, which may be highly related to success or failure. Therefore, the results of the LDA model could be useful for classification of successful and unsuccessful projects.
The following resources were invaluable to the completion of this section: * Text Mining with R: A Tidy Approach (Silge & Robinson, 2018; https://www.tidytextmining.com) * Class notes from Prof. Ujjal Mukherjee (University of Illinois at Urbana-Champgin, Gies College of Business) * stm: R Package for Structural Topic Models (Roberts, Stewart, & Tingley; https://cran.r-project.org/web/packages/stm/vignettes/stmVignette.pdf) * Binary text classification with Tidytext and caret (Hvitfeldt, 2018; https://www.hvitfeldt.me/2018/03/binary-text-classification-with-tidytext-and-caret/) * naivebayes package documentation (ftp://cran.r-project.org/pub/R/web/packages/naivebayes/naivebayes.pdf)
Ex Post Facto variables are those that generally only exist at the end of the project. These are interesting to examine and can provide valuable insight into Kickstarter, however, they are not appropriate to use in our predictive models as they are pseudo outcome variables.
backers_count is a powerful predictor of project funding. We can see that the distribution resembles a logistic function. We found it surprising that even at the top 5% of backers_count there are still projects that are not funded. We hypothesize that these projects have an extremely large goal.
Day Zero variables are any which can be observed and/or controlled at the start of the project. These are the most important for our predictive models as they allow us to predict a project’s funding before any Kickstarter activity.
# By main category
# 15 unique categories
df_engr %>%
group_by(category) %>%
summarise(count = n(),
success_rate = round(mean(funded)*100, 2),
avg_goal = mean(goal, na.rm = TRUE),
#min(percent_funded, na.rm = TRUE),
med_perc_funded = median(percent_funded, na.rm = TRUE),
#max(percent_funded, na.rm = TRUE),
avg_perc_funded = mean(percent_funded, na.rm = TRUE),
avg_backer_count = mean(backers_count),
#min(backers_count),
med_backer_count = median(backers_count),
#max(backers_count),
avg_contribution = mean(avg_contribution, na.rm = TRUE),
#min(avg_contribution, na.rm = TRUE),
med_contribution = median(avg_contribution, na.rm = TRUE)) %>%
#max(avg_contribution, na.rm = TRUE)) %>%
arrange(desc(count)) %>%
ungroup(category)
## # A tibble: 15 x 10
## category count success_rate avg_goal med_perc_funded avg_perc_funded
## <fct> <int> <dbl> <dbl> <dbl> <dbl>
## 1 music 14635 59.2 7589. 102. 117.
## 2 film&video 12087 65.2 22409. 102. 301.
## 3 publishing 8725 39.7 7951. 19.8 336.
## 4 art 6122 51.2 9139. 100 260.
## 5 games 4125 46.9 38009. 41.2 1214.
## 6 design 1725 81.2 12981. 130 487.
## 7 technology 1638 46.2 68119. 47.0 195.
## 8 crafts 61 96.7 3235. 111. 146.
## 9 comics 57 100 11760. 176. 364.
## 10 theater 57 100 5994. 113. 127.
## 11 food 45 100 19737. 116. 147.
## 12 fashion 36 100 18178. 136. 580.
## 13 journalism 15 100 23405 111. 139.
## 14 dance 11 100 3165. 120. 120.
## 15 photography 11 100 9061. 166. 218.
## # ... with 4 more variables: avg_backer_count <dbl>,
## # med_backer_count <dbl>, avg_contribution <dbl>, med_contribution <dbl>
#Logit
#Some categories significant
logit_category <- glm(funded ~ category, data = df_engr, family = binomial(link='logit'))
summary(logit_category)
##
## Call:
## glm(formula = funded ~ category, family = binomial(link = "logit"),
## data = df_engr)
##
## Deviance Residuals:
## Min 1Q Median 3Q Max
## -2.6145 -1.1975 0.9257 1.0244 1.3586
##
## Coefficients:
## Estimate Std. Error z value Pr(>|z|)
## (Intercept) 0.04705 0.02557 1.840 0.065732 .
## categorycomics 14.51902 116.92222 0.124 0.901175
## categorycrafts 3.33734 0.71945 4.639 3.51e-06 ***
## categorydance 14.51902 266.15714 0.055 0.956497
## categorydesign 1.41715 0.06674 21.235 < 2e-16 ***
## categoryfashion 14.51902 147.12390 0.099 0.921388
## categoryfilm&video 0.57870 0.03191 18.136 < 2e-16 ***
## categoryfood 14.51902 131.59162 0.110 0.912145
## categorygames -0.17085 0.04034 -4.235 2.28e-05 ***
## categoryjournalism 14.51902 227.92336 0.064 0.949208
## categorymusic 0.32408 0.03060 10.590 < 2e-16 ***
## categoryphotography 14.51902 266.15714 0.055 0.956497
## categorypublishing -0.46351 0.03365 -13.774 < 2e-16 ***
## categorytechnology -0.19875 0.05577 -3.564 0.000365 ***
## categorytheater 14.51902 116.92222 0.124 0.901175
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## (Dispersion parameter for binomial family taken to be 1)
##
## Null deviance: 67757 on 49349 degrees of freedom
## Residual deviance: 65278 on 49335 degrees of freedom
## AIC: 65308
##
## Number of Fisher Scoring iterations: 13
df_engr %>%
group_by(category) %>%
summarise(count = n(),
funded_rate = round(mean(funded)*100, 2)) %>%
arrange(desc(count)) %>%
ggplot(aes(x = reorder(category, -count), y = count)) +
geom_bar(stat="identity", fill = "#332288") +
labs(
title = "Frequency By Category",
x="Project Category",
y="Number of Projects") +
theme_minimal() +
theme_update(axis.text.x = element_text(angle = 60, hjust = 1))
df_engr %>%
group_by(category) %>%
summarise(count = n(),
funded_rate = round(mean(funded)*100, 2)) %>%
arrange(desc(count)) %>%
ggplot(aes(x = reorder(category, -count), y = funded_rate)) +
geom_bar(stat="identity", fill = "#332288") +
labs(
title = "Funding By Category",
x="Project Category",
y="Chance of Funding") +
theme_minimal() +
theme_update(axis.text.x = element_text(angle = 60, hjust = 1))
# By subcategory
# 140 unique category/subcategory combinations
#df_cats %>%
# group_by(as.character(category_slug)) %>%
# summarise(n(),
# success_rate = round(mean(funded)*100, 2),
# min(percent_funded, na.rm = TRUE),
# median(percent_funded, na.rm = TRUE),
# max(percent_funded, na.rm = TRUE),
# mean(percent_funded, na.rm = TRUE),
# mean(backers_count),
# min(backers_count),
# median(backers_count),
# max(backers_count),
# mean(avg_contribution, na.rm = TRUE),
# min(avg_contribution, na.rm = TRUE),
# median(avg_contribution, na.rm = TRUE),
# max(avg_contribution, na.rm = TRUE)) %>%
# ungroup(category_slug)
#Clean up
rm(logit_category)
The vast majority of projects received fewer than 20 comments. Success rate seems to increases exponentially when more comments are received.
df_commments = data.frame(funded = df_engr$funded,
comments_count = db_cleaned$comments_count)
df_commments$df_cc_20 = cut(df_commments$comments_count,
breaks = unique(quantile(df_commments$comments_count,
seq(0, 1, by = .05))),
include.lowest = TRUE)
df_commments %>%
ggplot(aes(x = df_cc_20, y = funded)) +
stat_summary(geom = "bar", fun.y = "mean", fill = "#332288") +
labs(
title = "Funding By Comments",
x="Number of Comments",
y="Chance of Funding") +
theme_minimal() +
theme_update(axis.text.x = element_text(angle = 60, hjust = 1))
#Logit
#significant
logit_comments <- glm(funded ~ comments_count, data = df_commments, family = binomial(link='logit'))
## Warning: glm.fit: fitted probabilities numerically 0 or 1 occurred
summary(logit_comments)
##
## Call:
## glm(formula = funded ~ comments_count, family = binomial(link = "logit"),
## data = df_commments)
##
## Deviance Residuals:
## Min 1Q Median 3Q Max
## -8.4904 -1.1927 0.6619 1.1351 1.1622
##
## Coefficients:
## Estimate Std. Error z value Pr(>|z|)
## (Intercept) 0.035838 0.009950 3.602 0.000316 ***
## comments_count 0.032261 0.001054 30.612 < 2e-16 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## (Dispersion parameter for binomial family taken to be 1)
##
## Null deviance: 67757 on 49349 degrees of freedom
## Residual deviance: 64233 on 49348 degrees of freedom
## AIC: 64237
##
## Number of Fisher Scoring iterations: 12
#Group into deciles and look as levels
#df_comments_count_filtered <- db_cleaned %>%
# filter(comments_count <= 200) %>%
# mutate(comment_count_10 = cut(comments_count, 10))
#df_comments_count_filtered %>%
# ggplot() +
# theme_minimal() +
# ggtitle("$comment_count in Deciles") +
# geom_histogram(aes(comment_count_10), stat = "count")
#df_comments_count_filtered %>%
# group_by(comment_count_10) %>%
# summarise(n(),
# mean(comments_count),
# success_rate = round(mean(funded)*100, 2),
# mean(backers_count),
# mean(avg_contribution, na.rm = TRUE)) %>%
# ungroup(comment_count_10)
#Clean up
rm(logit_comments)
rm(df_commments)
Goal is likely a good predicter. The vast majority of goals are under $50,000. The likelihood of being funded decreases as goals get larger.
df_engr %>%
ggplot(aes(x = goal_20, y = funded)) +
stat_summary(geom = "bar", fun.y = "mean", fill = "#332288") +
labs(
title = "Funding By Goal",
x="Goal Amount",
y="Chance of Funding") +
theme_minimal() +
theme_update(axis.text.x = element_text(angle = 60, hjust = 1))
#Linear Models
summary(glm(funded ~ goal, data = df_engr))
##
## Call:
## glm(formula = funded ~ goal, data = df_engr)
##
## Deviance Residuals:
## Min 1Q Median 3Q Max
## -0.5591 -0.5585 0.4410 0.4413 1.3494
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 5.591e-01 2.240e-03 249.579 <2e-16 ***
## goal -8.887e-08 1.011e-08 -8.791 <2e-16 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## (Dispersion parameter for gaussian family taken to be 0.2463031)
##
## Null deviance: 12174 on 49349 degrees of freedom
## Residual deviance: 12155 on 49348 degrees of freedom
## AIC: 70904
##
## Number of Fisher Scoring iterations: 2
summary(glm(funded ~ goal_20, data = df_engr))
##
## Call:
## glm(formula = funded ~ goal_20, data = df_engr)
##
## Deviance Residuals:
## Min 1Q Median 3Q Max
## -0.7263 -0.5223 0.3081 0.4096 0.7480
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 0.726339 0.007955 91.309 < 2e-16 ***
## goal_20(500,750] -0.034405 0.015033 -2.289 0.0221 *
## goal_20(750,1e+03] -0.081382 0.011433 -7.118 1.11e-12 ***
## goal_20(1e+03,1.5e+03] -0.068111 0.015761 -4.321 1.55e-05 ***
## goal_20(1.5e+03,1.8e+03] -0.053758 0.012555 -4.282 1.86e-05 ***
## goal_20(1.8e+03,2e+03] -0.099882 0.012297 -8.123 4.67e-16 ***
## goal_20(2e+03,2.5e+03] -0.103849 0.012195 -8.516 < 2e-16 ***
## goal_20(2.5e+03,3e+03] -0.103880 0.011781 -8.818 < 2e-16 ***
## goal_20(3e+03,3.5e+03] -0.108168 0.014221 -7.606 2.87e-14 ***
## goal_20(3.5e+03,4.5e+03] -0.135934 0.012492 -10.881 < 2e-16 ***
## goal_20(4.5e+03,5e+03] -0.204050 0.010732 -19.013 < 2e-16 ***
## goal_20(5e+03,5.2e+03] -0.250929 0.062445 -4.018 5.87e-05 ***
## goal_20(5.2e+03,7e+03] -0.184895 0.011706 -15.795 < 2e-16 ***
## goal_20(7e+03,8e+03] -0.185059 0.013565 -13.642 < 2e-16 ***
## goal_20(8e+03,1e+04] -0.241528 0.011069 -21.821 < 2e-16 ***
## goal_20(1e+04,1.2e+04] -0.226823 0.017024 -13.324 < 2e-16 ***
## goal_20(1.2e+04,1.6e+04] -0.251951 0.012943 -19.467 < 2e-16 ***
## goal_20(1.6e+04,2.5e+04] -0.312792 0.011810 -26.485 < 2e-16 ***
## goal_20(2.5e+04,5e+04] -0.366339 0.012601 -29.072 < 2e-16 ***
## goal_20(5e+04,2.15e+07] -0.474328 0.013739 -34.525 < 2e-16 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## (Dispersion parameter for gaussian family taken to be 0.2340022)
##
## Null deviance: 12174 on 49349 degrees of freedom
## Residual deviance: 11543 on 49330 degrees of freedom
## AIC: 68394
##
## Number of Fisher Scoring iterations: 2
The number of projects increased exponentially 2009 - 2012 and seems to be increasing more gradually after 2012. The dataset has only partial data for December 2013.
df_engr %>%
group_by(mo_yr_launched) %>%
summarise(n(),
success_rate = round(mean(funded)*100, 2),
mean(percent_funded, na.rm = TRUE),
mean (avg_contribution, na.rm = TRUE)) %>%
ungroup(mo_yr_launched)
## # A tibble: 57 x 5
## mo_yr_launched `n()` success_rate `mean(percent_fun… `mean(avg_contrib…
## <chr> <int> <dbl> <dbl> <dbl>
## 1 01-2010 118 58.5 82.4 68.3
## 2 01-2011 660 62.3 88.5 70.5
## 3 01-2012 1227 53.6 128. 67.1
## 4 01-2013 1388 55.6 124. 64.7
## 5 02-2010 139 62.6 89.9 75.1
## 6 02-2011 578 62.1 85.7 76.4
## 7 02-2012 1494 58.4 324. 71.9
## 8 02-2013 1435 59.0 121. 69.9
## 9 03-2010 209 65.1 89.6 78.5
## 10 03-2011 477 66.0 103. 76.7
## # ... with 47 more rows
df_engr %>%
ggplot(aes(x = yr_launched, y = funded)) +
geom_bar(stat="identity", fill = "#332288") +
labs(
title = "Project Launch By Year",
x="Year",
y="Projects Launched") +
theme_minimal() +
theme_update(axis.text.x = element_text(angle = 60, hjust = 1))
df_engr %>%
ggplot(aes(x = yr_launched, y = funded)) +
stat_summary(geom = "bar", fun.y = "mean", fill = "#332288") +
labs(
title = "Funding By Year",
x="Year",
y="Chance of Funding") +
theme_minimal() +
theme_update(axis.text.x = element_text(angle = 60, hjust = 1))
df_engr %>%
ggplot(aes(x = mo_launched, y = funded)) +
stat_summary(geom = "bar", fun.y = "mean", fill = "#332288") +
labs(
title = "Funding By Goal",
x="Goal Amount",
y="Chance of Funding") +
theme_minimal() +
theme_update(axis.text.x = element_text(angle = 60, hjust = 1))
summary(glm(funded ~ mo_launched, data = df_engr))
##
## Call:
## glm(formula = funded ~ mo_launched, data = df_engr)
##
## Deviance Residuals:
## Min 1Q Median 3Q Max
## -0.5938 -0.5554 0.4172 0.4446 0.4679
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 0.562629 0.008523 66.012 < 2e-16 ***
## mo_launched02 0.031172 0.011843 2.632 0.00848 **
## mo_launched03 0.020148 0.011560 1.743 0.08137 .
## mo_launched04 0.005669 0.011639 0.487 0.62622
## mo_launched05 -0.023772 0.011199 -2.123 0.03378 *
## mo_launched06 -0.006424 0.011226 -0.572 0.56719
## mo_launched07 -0.011455 0.011280 -1.015 0.30989
## mo_launched08 -0.020658 0.011352 -1.820 0.06880 .
## mo_launched09 -0.007231 0.011434 -0.632 0.52716
## mo_launched10 -0.002315 0.011176 -0.207 0.83588
## mo_launched11 -0.012882 0.011260 -1.144 0.25261
## mo_launched12 -0.030529 0.012873 -2.371 0.01772 *
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## (Dispersion parameter for gaussian family taken to be 0.2464786)
##
## Null deviance: 12174 on 49349 degrees of freedom
## Residual deviance: 12161 on 49338 degrees of freedom
## AIC: 70950
##
## Number of Fisher Scoring iterations: 2
The majority of projects are based in the United States. Domestic projects have a success rate about 7% higher than international projects.
df_country <- data.frame(funded = df_engr$funded, country = db_cleaned$country, usa = df_engr$usa)
df_country %>%
group_by(country) %>%
summarise(count = n(), funded_rate = mean(funded)) %>%
arrange(desc(count)) %>%
ungroup(country)
## # A tibble: 5 x 3
## country count funded_rate
## <fct> <int> <dbl>
## 1 US 47007 0.561
## 2 GB 1986 0.492
## 3 CA 278 0.464
## 4 AU 54 0.556
## 5 NZ 25 0.52
summary(lm(funded ~ usa, data = df_country))
##
## Call:
## lm(formula = funded ~ usa, data = df_country)
##
## Residuals:
## Min 1Q Median 3Q Max
## -0.5610 -0.5610 0.4390 0.4390 0.5096
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 0.49040 0.01026 47.814 < 2e-16 ***
## usa 0.07058 0.01051 6.717 1.88e-11 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 0.4965 on 49348 degrees of freedom
## Multiple R-squared: 0.0009133, Adjusted R-squared: 0.0008931
## F-statistic: 45.11 on 1 and 49348 DF, p-value: 1.88e-11
#Clean up
rm(df_country)
There are not enough zero values for prediction, and a t-test shows no significant difference between having and not having a photo. This is probably not because photos don’t matter, but rather because the sample with no photo is too small to have statistical power.
df_engr %>%
group_by(photo_key) %>%
summarise(n(), mean(funded)) %>%
ungroup(photo_key)
## # A tibble: 2 x 3
## photo_key `n()` `mean(funded)`
## <dbl> <int> <dbl>
## 1 0 25 0.68
## 2 1 49325 0.558
t.test(funded ~ photo_key, data = df_engr)
##
## Welch Two Sample t-test
##
## data: funded by photo_key
## t = 1.2854, df = 24.026, p-value = 0.2109
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
## -0.07413234 0.31899802
## sample estimates:
## mean in group 0 mean in group 1
## 0.6800000 0.5575672
The higher the pledged amount, the more backers there are. The average contribution per backer does not seem to change much even as the amount pledged increases.
# # Group into deciles and look as levels
# df_filtered_by_pledged <- db_cleaned %>%
# filter(pledged < 200000) %>%
# mutate(pledged_10 = cut(pledged, 10))
#
# #df_filtered_by_pledged %>%
# group_by(pledged_10) %>%
# summarise(n(),
# mean(pledged),
# mean(backers_count),
# mean(avg_contribution, na.rm = TRUE)) %>%
# ungroup(pledged_10)
#
# df_filtered_by_pledged %>%
# ggplot() +
# theme_minimal() +
# ggtitle("$pledged in Deciles") +
# geom_histogram(aes(pledged_10), stat = "count")
#
# #Clean up
# rm(df_filtered_by_pledged)
Spotlight is an ex post facto variable that features funded projects. Kickstarter Spotlight
df_engr %>%
group_by(spotlight) %>%
summarise(n(), mean(funded)) %>%
ungroup(spotlight)
## # A tibble: 2 x 3
## spotlight `n()` `mean(funded)`
## <dbl> <int> <dbl>
## 1 0 21831 0
## 2 1 27519 1
This flag denotes projectsthat have received the “Projects We Love” badge and get prominantly features on the website, newsletters, and blogs. Kickstarter staff clearly has a great eye for promossing projects and/or some strong marketing impact. Kickstarter - Projects We Love
df_engr %>%
group_by(staff_pick) %>%
summarise(n(), mean(funded)) %>%
ungroup(staff_pick)
## # A tibble: 2 x 3
## staff_pick `n()` `mean(funded)`
## <dbl> <int> <dbl>
## 1 0 44081 0.524
## 2 1 5269 0.842
On average: projects that are funded far exceed their goal amount; the average contribution per backer is higher and there are more backers; and the goal amount tends to be significantly lower.
df_engr %>%
group_by(funded) %>%
summarise(n(),
mean(percent_funded, na.rm = TRUE),
mean(avg_contribution, na.rm = TRUE),
mean(goal, na.rm = TRUE),
mean(backers_count),
median(backers_count),
max(backers_count),
mean(avg_contribution, na.rm = TRUE)) %>%
ungroup(funded)
## # A tibble: 2 x 8
## funded `n()` `mean(percent_funde… `mean(avg_contribut… `mean(goal, na.r…
## <dbl> <int> <dbl> <dbl> <dbl>
## 1 0 21831 10.6 57.2 26047.
## 2 1 27519 577. 82.9 8453.
## # ... with 3 more variables: `mean(backers_count)` <dbl>,
## # `median(backers_count)` <int>, `max(backers_count)` <dbl>
T test shows having a video to statistically significantly impact the success of the project.
df_engr %>%
group_by(video_status) %>%
summarise(n(), mean(funded)) %>%
ungroup(video_status)
## # A tibble: 2 x 3
## video_status `n()` `mean(funded)`
## <dbl> <int> <dbl>
## 1 0 8882 0.408
## 2 1 40468 0.591
t.test(funded ~ video_status, data = df_engr)
##
## Welch Two Sample t-test
##
## data: funded by video_status
## t = -31.728, df = 13074, p-value < 2.2e-16
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
## -0.1940137 -0.1714361
## sample estimates:
## mean in group 0 mean in group 1
## 0.407791 0.590516
Interestingly, campaign duration has an inverse relationship to the likelihood of receiving funding; longer campaign are associated with higher failure rates.
#Linear Model
#not significant
lm_length <- glm(percent_funded ~ campaign_duration, data = df_engr)
summary(lm_length)
##
## Call:
## glm(formula = percent_funded ~ campaign_duration, data = df_engr)
##
## Deviance Residuals:
## Min 1Q Median 3Q Max
## -497 -330 -250 -197 4153152
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 506.246 273.642 1.850 0.0643 .
## campaign_duration -5.074 7.139 -0.711 0.4773
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## (Dispersion parameter for gaussian family taken to be 530257105)
##
## Null deviance: 2.6167e+13 on 49349 degrees of freedom
## Residual deviance: 2.6167e+13 on 49348 degrees of freedom
## AIC: 1131439
##
## Number of Fisher Scoring iterations: 2
#Logit
#significant
logit_length <- glm(funded ~ campaign_duration, data = df_engr, family=binomial(link='logit'))
summary(logit_length)
##
## Call:
## glm(formula = funded ~ campaign_duration, family = binomial(link = "logit"),
## data = df_engr)
##
## Deviance Residuals:
## Min 1Q Median 3Q Max
## -1.5155 -1.3146 0.9841 1.0450 1.4678
##
## Coefficients:
## Estimate Std. Error z value Pr(>|z|)
## (Intercept) 0.7946662 0.0243907 32.58 <2e-16 ***
## campaign_duration -0.0158282 0.0006355 -24.91 <2e-16 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## (Dispersion parameter for binomial family taken to be 1)
##
## Null deviance: 67757 on 49349 degrees of freedom
## Residual deviance: 67121 on 49348 degrees of freedom
## AIC: 67125
##
## Number of Fisher Scoring iterations: 4
df_engr %>%
ggplot() +
theme_minimal() +
ggtitle("$campaign_length Logistic Model") +
geom_point(aes(x=campaign_duration, y=funded), colour = "black") +
geom_point(aes(x=campaign_duration, y=logit_length$fitted.values), colour = "red")
## Don't know how to automatically pick scale for object of type difftime. Defaulting to continuous.
rm(lm_length, logit_length)
Appears to have a skewed normal distribution with a mean of $72.
#Chck for NA
anyNA(df_engr$avg_contribution)
## [1] TRUE
mean(df_engr$avg_contribution, na.rm = TRUE)
## [1] 72.70791
# Apparently normal distribution
df_filtered_by_avg_contribution <- df_engr %>%
filter(avg_contribution < 1500)
# Box Plot
boxplot(df_filtered_by_avg_contribution$avg_contribution)
# Histogram
df_filtered_by_avg_contribution %>%
ggplot() +
geom_histogram(aes(x = avg_contribution))
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
#Clean up
rm(df_filtered_by_avg_contribution)
Non-normal distribution shows that most projects over ~75% of their goal wind up being successful. There may be outside manipulation happening due to Kickstarter promotions of projects that are near their goals, or personal donations by the creators and/or creators personal connections.
# Check for NA
anyNA(df_engr$percent_funded)
## [1] FALSE
mean(df_engr$percent_funded, na.rm = TRUE)
## [1] 326.2655
df_filtered_by_percent_funded <- df_engr %>%
filter(!is.na(percent_funded) & percent_funded <= 400)
# Box Plot
boxplot(df_filtered_by_percent_funded$percent_funded)
# Non-normal distribution
df_filtered_by_percent_funded %>%
ggplot() +
geom_histogram(aes(x = percent_funded))
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
#Clean up
rm(df_filtered_by_percent_funded)
df_engr %>%
ggplot(aes(x = description_length_10, y = funded)) +
stat_summary(geom = "bar", fun.y = "mean", fill = "#332288") +
labs(
title = "Funding By Description",
x="Length of Description",
y="Chance of Funding") +
theme_minimal() +
theme_update(axis.text.x = element_text(angle = 60, hjust = 1))
$profile_blurb, $profile_state
df_engr %>%
ggplot(aes(x = reward_length_10, y = funded)) +
stat_summary(geom = "bar", fun.y = "mean", fill = "#332288") +
labs(
title = "Funding By Rewards",
x="Length of Rewards",
y="Chance of Funding") +
theme_minimal() +
theme_update(axis.text.x = element_text(angle = 60, hjust = 1))
#Average of 2-20 minutes difference btween deadline and failed_at, successful_at, state_changed_at
#Difference is not meaningful, so remove failed_at, successful_at, state_changed_at
ticktock <- data.frame(db_cleaned$created_at,
db_cleaned$deadline,
db_cleaned$failed_at,
db_cleaned$launched_at,
db_cleaned$state_changed_at,
db_cleaned$successful_at)
ticktock <- mutate(ticktock,
deadline_failed = db_cleaned.deadline - db_cleaned.failed_at,
deadline_success = db_cleaned.deadline - db_cleaned.successful_at,
deadline_state = db_cleaned.deadline - db_cleaned.state_changed_at)
mean(ticktock$deadline_failed, na.rm = TRUE)
## Time difference of -52.16174 secs
mean(ticktock$deadline_success, na.rm = TRUE)
## Time difference of -112.5382 secs
mean(ticktock$deadline_state)
## Time difference of -85.82944 secs
rm(ticktock)
More granular location variables would require more cleaning and may produce regional insights. * location_name * location_state * location_type
We looked at this, yet did not find them to be predictive: * project_id * disable_communicaiton
##$project_id
#A random identifier, cannot easily observe a pattern
range(db_cleaned$project_id)
## [1] 21109 2147466649
#Create data frame
dictionary <- as.data.frame(matrix(0, nrow = 29, ncol = 4,
dimnames = list(NULL, c("name", "description", "type", "values"))))
# Populate first column with variable names from df_engr
dictionary$name <- c(colnames(df_engr))
# Manually write definitions
dictionary$description <- c("Binary indication if the project was successful or failed.
Successful projects match or exceed their goal on or before the deadline",
"Number of comments Kickstarter users post on a project page during the campaign",
"Goal amount specified at the beginning of the campaign, in local currency",
"Number of times the project page was updated during the campaign",
"Number of backers that contributed to the project",
"Text description of the project",
"Length of the campaign from launch to deadline, in days",
"Mean amount pledged per backer, in local currency",
"Percent of goal received (%)",
"Binary variable indicating ex post facto variable that features funded projects",
"Binary variable indicating staff selection to receive “Projects We Love” badge,
which are prominantly featured",
"Binary variable indicating location in the US (1) or in another country (0)",
"Binary variable indicating if any links to creator's social media were provided",
"Binary variable indicating if creator linked to Facebook",
"Binary variable indicating if creator linked to Twitter",
"Binary variable indicating if creator linked to YouTube",
"Counts the number of links to social media provided by the creator",
"Binary variable indicating if the project page had a photo",
"Binary variable indicating if the project page had a video",
"Number of characters describing the reward structure for backers",
"Number of characters in the full project description",
"Date of project launch (yyyy-mm-dd)",
"Month and year of project launch (mm-yyyy)",
"Year of project launch (yyyy)",
"Month of project launch (mm)",
"Factor assigned to goal amounts, by ventiles",
"Factor assigned to full description lengths, by deciles",
"Factor assigned to reward description lengths, by deciles",
"One of 15 names describing of the project category")
# Populate third column the variable type
dictionary$type <- c(sapply(df_engr, class))
# # Manually input values in fourth column
# dictionary$values <- c("1 successful; 0 failed",
# c(min(df_engr$comments_count), max(df_engr$comments_count)),
# c(min(df_engr$goal), max(df_engr$goal)),
# c(min(df_engr$updates_count), max(df_engr$updates_count)),
# c(min(df_engr$backers_count), max(df_engr$backers_count)),
# "N/A",
# c(min(df_engr$campaign_duration), max(df_engr$campaign_duration)),
# c(min(df_engr$avg_contribution), max(df_engr$avg_contribution)),
# c(min(df_engr$percent_funded), max(df_engr$percent_funded)),
# "1 spotlight; 0 no spotlight",
# "1 selected; 0 not selected",
# "1 US; 0 other country",
# "1 at least one link to social media provided; 0 no links to social media",
# "1 link to creator Facebook; 0 no link",
# "1 link to creator Twitter; 0 no link",
# "1 link to creator YouTube; 0 no link",
# c(min(df_engr$social_media_count), max(df_engr$social_media_count)),
# "1 has photo; 0 none",
# "1 has video; 0 none",
# c(min(df_engr$reward_length), max(df_engr$reward_length)),
# c(min(df_engr$description_length), max(df_engr$description_length)),
# "Date of project launch (yyyy-mm-dd)",
# "Month and year of project launch (mm-yyyy)",
# "Year of project launch (yyyy)",
# "Month of project launch (mm)",
# "Factor assigned to goal amounts, by ventiles",
# "Factor assigned to full description lengths, by deciles",
# "Factor assigned to reward description lengths, by deciles",
# "One of 15 names describing of the project category")
print(dictionary)
## name
## 1 funded
## 2 comments_count
## 3 goal
## 4 updates_count
## 5 backers_count
## 6 full_description
## 7 campaign_duration
## 8 avg_contribution
## 9 percent_funded
## 10 spotlight
## 11 staff_pick
## 12 usa
## 13 social_media
## 14 facebook
## 15 twitter
## 16 youtube
## 17 social_media_count
## 18 photo_key
## 19 video_status
## 20 reward_length
## 21 description_length
## 22 date_launched
## 23 mo_yr_launched
## 24 yr_launched
## 25 mo_launched
## 26 goal_20
## 27 description_length_10
## 28 reward_length_10
## 29 category
## description
## 1 Binary indication if the project was successful or failed.\n Successful projects match or exceed their goal on or before the deadline
## 2 Number of comments Kickstarter users post on a project page during the campaign
## 3 Goal amount specified at the beginning of the campaign, in local currency
## 4 Number of times the project page was updated during the campaign
## 5 Number of backers that contributed to the project
## 6 Text description of the project
## 7 Length of the campaign from launch to deadline, in days
## 8 Mean amount pledged per backer, in local currency
## 9 Percent of goal received (%)
## 10 Binary variable indicating ex post facto variable that features funded projects
## 11 Binary variable indicating staff selection to receive “Projects We Love” badge, \n which are prominantly featured
## 12 Binary variable indicating location in the US (1) or in another country (0)
## 13 Binary variable indicating if any links to creator's social media were provided
## 14 Binary variable indicating if creator linked to Facebook
## 15 Binary variable indicating if creator linked to Twitter
## 16 Binary variable indicating if creator linked to YouTube
## 17 Counts the number of links to social media provided by the creator
## 18 Binary variable indicating if the project page had a photo
## 19 Binary variable indicating if the project page had a video
## 20 Number of characters describing the reward structure for backers
## 21 Number of characters in the full project description
## 22 Date of project launch (yyyy-mm-dd)
## 23 Month and year of project launch (mm-yyyy)
## 24 Year of project launch (yyyy)
## 25 Month of project launch (mm)
## 26 Factor assigned to goal amounts, by ventiles
## 27 Factor assigned to full description lengths, by deciles
## 28 Factor assigned to reward description lengths, by deciles
## 29 One of 15 names describing of the project category
## type values
## 1 numeric 0
## 2 integer 0
## 3 numeric 0
## 4 integer 0
## 5 integer 0
## 6 character 0
## 7 difftime 0
## 8 numeric 0
## 9 numeric 0
## 10 numeric 0
## 11 numeric 0
## 12 numeric 0
## 13 numeric 0
## 14 numeric 0
## 15 numeric 0
## 16 numeric 0
## 17 factor 0
## 18 numeric 0
## 19 numeric 0
## 20 integer 0
## 21 integer 0
## 22 Date 0
## 23 character 0
## 24 character 0
## 25 character 0
## 26 factor 0
## 27 factor 0
## 28 factor 0
## 29 factor 0
rm(dictionary)
6.13 Social media connectedness variables
Social media shows an impact. Facebook seems to be the strongest and Youtube has a negative coefecient. Our hypothesis is that Facebook and Twitter may be used for promotion, while creators focusing on YouTube may over rely on their product content. Yet the most successfull creators have all three, which supports that YouTube is effective when paired with a comprehensive social media campaign.